<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<%@page import="oa.pojo.t_User"%>
<%@page import="oa.dao.SectionDao"%>
<%@page import="oa.pojo.Section"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   
    <title>发帖</title>
    <style type="text/css">
    body{
    background-color: skyblue;
    }
    </style>
	

  </head>
  
  <body>
    <%
  	 //查询板块信息:
  	 SectionDao sectionDao = new SectionDao();
  	 List<Section> sectionList =sectionDao.querySection();
  	 //添加到作用域中，目的是使用EL表达式语言访问数据
  	 request.setAttribute("secList",sectionList);
  
  	 request.getRequestDispatcher("bbsIndex.jsp").forward(request,response);
  	 
   %>
  </body>
</html>
